<?php
/**
 * Created by PhpStorm.
 * User: mr.lee
 * Date: 2018/7/16
 * Time: 下午4:11
 */

namespace app\index\command;


use think\console\Command;
use think\console\Input;
use think\console\Output;
use think\Controller;

class Sendmail extends Command
{
    protected function configure()
    {
        $this->setName('sendmail')->setDescription('Here is the remark ');
    }

    protected function execute(Input $input, Output $output)
    {
        $sendmail=new \app\index\controller\Sendmail();
        $sendmail->send();
    }
}